﻿@using PAMD
@using PAMD.Business.Models
@model RegistrationModel
@{
    ViewBag.Title = SiteConstant.Slogan;
    Layout = "../Shared/_Layout.cshtml";
}
<script type="text/javascript" language="javascript">

    $(document).ready(function (event) {

        $('#SaveButton').click(function () {

            var validated = ValidateForm();
            return validated;
        });

    });

</script>
@using(Html.BeginForm("ReSendActivation", "Account"))
{
<div class="form-container-small">
    <strong>Account varification</strong>
    <fieldset class="field-container">
        <div class="highlight-blue">
            Something went wrong.
        </div>
        <br />
        <br />
        We could not find you in our database. You may have already activated your account.
        <br />
        <br />
        Please @Html.ActionLink("Login", "Login","Account" )&nbsp;to your account.
        <br />
        <br />
        To send activation link again please enter your email.
        <br />
        <br />
        <div class="left-align">
            <div class="controlBox">
                <label for="Email">
                    Email &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;</label>
                @Html.TextBoxFor(m => m.Email, new { validation = "required,email", @class = "inputBox" })
            </div>
            <div id="Email_Error" class="error-box">
                Please enter valid email address.
            </div>
        </div>
        <br />
        <br />
        <div>
            <label for="">
                &nbsp;
            </label>
            <input type="submit" id="SaveButton" value="Send Activation Link" />
        </div>
    </fieldset>
</div>
}